package com.cw.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 手工录入 - 对象表
 * @author: ly
 * @date: 2021/05/13 13:47
 **/
@Getter
@Setter
@ApiModel
@TableName("II_PREPAYIN")
public class PrepayinDTO {

    @ApiModelProperty(hidden = true)
    @TableId("preId")
    private Integer preId;

    @ApiModelProperty("患者名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("性别编码 1男 2女")
    @TableField("SEX")
    private String sex;

    @ApiModelProperty("结算类型")
    @TableField("PAYKIND_CODE")
    private String paykindCode;

    @ApiModelProperty("出生日期?")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("BIRTHDAY")
    private LocalDateTime birthday;

    @ApiModelProperty("婚姻状况 1未婚,3离婚,6其他,2已婚,4丧偶,5重婚")
    @TableField("mari")
    private String mari;

    @ApiModelProperty("身份证")
    @TableField("IDENNO")
    private String idenNo;

    @ApiModelProperty("证件类型 0 ：居民身份证 1：护照 2：港澳台身份证 3：陆行证据 9 其他")
    @TableField("IDEN_TYPE")
    private String idenType;

    @ApiModelProperty("国籍")
    @TableField("COUNTRY")
    private String counCode;

    @ApiModelProperty("籍贯")
    @TableField("DIST")
    private String dist;

    @ApiModelProperty("现地址")
    private String home;

    @ApiModelProperty("联系人地址")
    @TableField("LINKMAN_ADD")
    private String linkmanAdd;

    @ApiModelProperty("联系人电话")
    @TableField("LINKMAN_TEL")
    private String linkmanTel;

    @ApiModelProperty("工作单位")
    @TableField("WORK_NAME")
    private String workName;

    @ApiModelProperty("联系人")
    @TableField("LINKMA_NAME")
    private String linkmaName;

    @ApiModelProperty("与联系人关系")
    @TableField("RELA_CODE")
        private String relaCode;

    @ApiModelProperty("住院科室")
    @TableField("DEPT_CODE")
    private String deptCode;

    @ApiModelProperty("科室名称")
    @TableField("DEPT_NAME")
    private String deptName;

    @ApiModelProperty("病区编码")
    @TableField("NURSE_CELL_CODE")
    private String nurseCellCode;

    @ApiModelProperty("床号")
    @TableField("BED_NO")
    private String bedNo;

    @ApiModelProperty("预约时间?")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("PREDATE")
    private LocalDateTime preDate;

    @ApiModelProperty("主管医生")
    @TableField("PREDOCT_CODE")
    private String predoctCode;

    @ApiModelProperty("诊断名称")
    @TableField("DIAG_NAME")
    private String diagName;

    @ApiModelProperty("诊断代码")
    @TableField("DIAG_CODE")
    private String diagCode;

    @ApiModelProperty("是否日间手术")
    @TableField("IF_RJBF")
    private String ifRjbf;

    @ApiModelProperty("入院情况")
    @TableField("IN_STATE")
    private String inState;

    @ApiModelProperty("院前准备：1日间手术、2院前准备、3疑似新冠、0普通")
    private String patientTag;

    @ApiModelProperty("是否31日内非计划再次入院")
    @TableField("IF_INHOS_PLAN")
    private String ifInhosPlan;

    @ApiModelProperty("是否外伤入院 0否 1是")
    @TableField("IF_INHOS_EXTERNAL")
    private String ifInhosExternal;

    @ApiModelProperty("预交金")
    @TableField("PREPAY_COST")
    private BigDecimal prepayCost;

    @ApiModelProperty("是否急")
    @TableField("IF_EMERGENCY")
    private String ifEmergency;

    @ApiModelProperty("电话")
    private String homeTel;

    @ApiModelProperty("步行")
    @TableField("IF_WALK")
    private String ifWalk;

    @ApiModelProperty("抬椅")
    @TableField("IF_CHAIR")
    private String ifChair;

    @ApiModelProperty("病车")
    @TableField("IF_AMBULANCE")
    private String ifAmbulance;

    @ApiModelProperty("备注")
    @TableField("beizhu")
    private String beizhu;

    @ApiModelProperty("状态 （1预约0取消预约2转入院3出院4待床5已通知9作废）")
    @TableField("PRE_STATE")
    private String preState;

    @ApiModelProperty("社保编号")
    private String mcardNo;

    @ApiModelProperty("合同单位")
    private String pactCode;

    private String profCode;

    @ApiModelProperty("预约大科")
    private String sdeptCode;

    @ApiModelProperty("操作人/医惠用")
    private  String OperCode;

    @ApiModelProperty("诊断名称")
    @TableField("DIAG_NAME2")
    private String diagName2;

    @ApiModelProperty("诊断代码")
    @TableField("DIAG_CODE2")
    private String diagCode2;

    @ApiModelProperty("诊断名称")
    @TableField("DIAG_NAME2")
    private String diagName3;

    @ApiModelProperty("诊断代码")
    @TableField("DIAG_CODE2")
    private String diagCode3;

    @ApiModelProperty("预手术编码")
    private String preOpcode;

    @ApiModelProperty("预手术名称")
    private String preOpname;

    @ApiModelProperty("预手术级别")
    private String preOpclass;

    @ApiModelProperty("是否为新技术")
    private String ynNewtech;

    @ApiModelProperty("是否跨科收治")
    private String ynOtherward;

    @ApiModelProperty("意向床位编码")
    private String bednoWangted;

    @ApiModelProperty("专业组编号")
    private String medicalGroupCode;

    @ApiModelProperty("专业组名称")
    private String medicalGroupName;

    @ApiModelProperty("专业组组长编号")
    private String medicalGroupLeaderCode;

    @ApiModelProperty("专业组组长名称")
    private String medicalGroupLeaderName;

}
